From d04f66eb524294e7de55e87a0104c457033c1dc5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Dec 2017 08:39:29 -0500 Subject: [PATCH] Add GtkIconSize back to the docs And document how it works now. --- docs/reference/gtk/css-properties.xml | 2 +- docs/reference/gtk/gtk4-sections.txt | 1 + gtk/gtkenums.h | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/reference/gtk/css-properties.xml b/docs/reference/gtk/css-properties.xml index 81be2efb22..42837b07cc 100644 --- a/docs/reference/gtk/css-properties.xml +++ b/docs/reference/gtk/css-properties.xml @@ -569,7 +569,7 @@ We use for syntax productions, and each line is put in a ✓ - Determines the size at which icons are displayed + Determines the size at which icons are displayed. See GtkIconSize diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt index bea54de643..9a25b3132b 100644 --- a/docs/reference/gtk/gtk4-sections.txt +++ b/docs/reference/gtk/gtk4-sections.txt @@ -5300,6 +5300,7 @@ GtkShadowType GtkStateFlags GtkToolbarStyle GtkSortType +GtkIconSize diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index a75429b8f9..81c20f1dec 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -183,6 +183,10 @@ typedef enum * * Icon sizes default to being inherited. Where they cannot be * inherited, text size is the default. + * + * All widgets which use GtkIconSize set the normal-icons or large-icons + * style classes correspondingly, and let themes determine the actual size + * to be used with the -gtk-icon-size CSS property. */ typedef enum { -- 2.30.2